import request from "../axios";

const api = {
    getList(params) {
        return request({
            url: "/project/project/list",
            method: "get",
            params: params,
        });
    },

    addProject(data) {
        return request({
            url: "/project/project/add",
            method: "post",
            data: data,
        });
    },

    updateProject(data) {
        return request({
            url: "/project/project/update",
            method: "post",
            data: data,
        });
    },

    remove(data) {
        return request({
            url: "/project/project/remove",
            method: "post",
            data: data,
        });
    },
    getmodel(params) {
        return request({
            url: "/project/project/model",
            method: "get",
            params: params,
        });
    }
};

export default api;
